<form method="post" action="newReview" class="form-horizontal form-actions">

<div class="panel panel-primary">
	<div class="panel-heading">
		<h3 class="panel-title">Add Review</h3>
	</div>
	
	
	<div class="panel-body">		
	
		<fieldset>
			<div class="form-group ${empty form.erreurs['userName'] ? '': 'has-error'}">
				<label class="control-label col-sm-3" for="userName">Username</label>
				<div class="col-sm-9">
					<input class="form-control" type="text" id="userName" name="userName" value="<c:out value="${person.userName}"/>" size="20" maxlength="60" />
					<c:if test="${!empty form.resultat}">
						<span class="help-block">${empty form.erreurs['userName'] ? 'Success': form.erreurs['userName']}</span>
					</c:if>
				</div>
			</div>
			
			<div class="form-group ${empty form.erreurs['score'] ? '': 'has-error'}">
				<label class="control-label col-sm-3" for="score">Score</label>
				<div class="col-sm-9">
					<select class="form-control" id="score" name="score">
						<option value="0">0</option>
						<option value="1">1</option>
						<option value="2">2</option>
						<option value="3">3</option>
						<option value="4">4</option>
						<option value="6">6</option>
						<option value="7">7</option>
						<option value="8">8</option>
						<option value="9">9</option>
						<option value="10">10</option>
					</select>
					<c:if test="${!empty form.resultat}">
						<span class="help-block">${empty form.erreurs['score'] ? 'Success': form.erreurs['score']}</span>
					</c:if>
				</div>
			</div>
			
			<div class="form-group ${empty form.erreurs['review'] ? '': 'has-error'}">
				<label class="control-label col-sm-3" for="review">Review</label>
				<div class="col-sm-9">
					<textarea class="form-control" rows="10" id="review" name="review" value=""></textarea>
					<c:if test="${!empty form.resultat}">
						<span class="help-block">${empty form.erreurs['review'] ? 'Success': form.erreurs['review']}</span>
					</c:if>
				</div>
			</div>
	
			<c:if test="${!empty form.resultat}">
				<div class="alert alert-${empty form.erreurs ? 'success' : 'danger'} alert-dismissable">
					<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
					<strong>${form.resultat}</strong>
				</div>
			</c:if>
			
			<input type="hidden" id="anime_id" name="anime_id" value="<c:out value="${anime_id}"/>"/>
			
			<div class="form-group col-sm-3 col-sm-offset-3 ">
				<button class="btn btn-primary" type="submit" name="submit">Valider&ensp;<i class="icon-white icon-ok-sign"></i></button>
				<button class="btn" type="reset">Reset&ensp;<i class="icon-remove"></i></button>
			</div>
		
		</fieldset>
		
	</div>
</div>
		
</form>